// 兼容处理新版小程序与H5 互相跳转
import { platformTruth } from './environment';
export const gotoMiniMember = () => {
    const { isAlipayMini, isWechatMini } = platformTruth();
    if (isWechatMini) {
        window.wx.miniProgram.reLaunch({
            url: '/pages/owner/owner',
        });
    }
    if (isAlipayMini) {
        window.my.navigateTo({
            url: '/pages/owner/owner',
        });
    }
};
